/**
 * 
 */
package com.ailk.evaluation.common;

import java.util.List;
import java.util.Map;

/**
 * @author DerekHong
 *
 */
public class OutputResult {
	private boolean empty = true;
	protected Map map;
	protected List<Map> list;
	
	
	
	/**
	 * @param success
	 */
	public OutputResult() {
	}
	
	public OutputResult(List list) {
		this.list = list;
		if (list.size()>0) {
			this.map = (Map)list.get(0);
			this.empty = false;
		}
	}
	
	
	/**
	 * @return the empty
	 */
	public boolean isEmpty() {
		return empty;
	}

	/**
	 * @return the mapResult
	 */ 
	public Map getMap() {
		return map;
	}
	
	public List<Map> getList() {
		return this.list;
	}
	
}
